home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1300 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: overload.lbl.gov!news
  2. From: Mikhail Faiguenblat <mfaiguen@issserv4.lbl.gov>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Locaton of an array?
  5. Date: 12 Jan 1996 21:42:08 GMT
  6. Organization: Lawrence Berkeley Laboratory, Berkeley CA
  7. Message-ID: <4d6kjg$4gg@overload.lbl.gov>
  8. References: <4d4iqk$hs3@overload.lbl.gov> <DL2yMt.C7A@rivm.nl>
  9. NNTP-Posting-Host: issserv4.lbl.gov
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.12 (X11; I; SunOS 5.4 sun4d)
  14. X-URL: news:DL2yMt.C7A@rivm.nl
  15.  
  16. "A. van Kessel" <imaavk> wrote:
  17. >The answer is platform-dependent. Most platforms have fysical && virtual
  18. >addresses, some might even have an address-space per user process.
  19.  
  20. Yes, that is what I've got: virtual and physical addresses which are nowhere
  21. close to each other.
  22.  
  23. >The pointer is just what the program needs to address that piece of mem
  24. >in it's own arena: outside the program that value may be meaningless, 
  25. >except if you are a systemsprogrammer or writing a debugger.
  26.  
  27. Not exactly, but pretty close; it is a program which uses DMA, and the way
  28. DMA works (at least, on x86) it needs to know the physical address.
  29. I could post the source if it might help.
  30.  
  31. >Stop wanting it, its useless,
  32.  
  33. Well, as long as I don't come up with a better idea, I am going to need it.
  34.  
  35. >Adriaan van Kessel.
  36.  
  37. >NB: Your reply addres is wrong, might be a sign.
  38.  
  39. Mikhail
  40.  
  41.